Refactor API models, enhance feature flag integration, and update README#1
Merged
Conversation
…ement - Updated launch configuration to include pre-launch task for killing existing AppHost processes. - Modified MCP Server launch settings to use .dll instead of .exe and added environment variables for ASP.NET Core. - Added a new task to kill running AppHost and MCP Server processes. - Expanded AGENTS.md to include project structure, code rules, and feature flag management guidelines. - Introduced new feature flag for targeting users in FeatureFlag.cs. - Removed outdated CONFIGURATION.md and EXAMPLES.md files. - Added FeatBitApiClient methods for POST requests and integrated new feature flag tools. - Updated Program.cs to initialize FeatBit SDK and register session context. - Created McpToolFlagGateAttribute and related extensions to manage tool visibility based on feature flags. - Implemented McpSessionContext for session management in the MCP server.
…d detailed guidance
…handling in middleware
…od for feature flag evaluation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant improvements to the FeatBit agent skills documentation and project structure, focusing on clarity, best practices, and skill authoring guidance. It adds comprehensive best-practice documentation for skill builders, replaces the generic skill description for feature flags with a more focused and actionable skill, and removes redundant or duplicate scripts. Additionally, it removes an unnecessary commit message instruction file.
Documentation and Authoring Best Practices:
.github/prompts/skill-builder-best-practice.prompt.md, covering project structure, naming conventions, frontmatter requirements, writing style, workflow formatting, reference file management, versioning, and release processes. This guide ensures all contributors follow consistent and high-quality standards when authoring or updating skills.Skill Content and Structure Updates:
featbit-skillsskill (.github/skills/featbit/SKILL.md) with a new, focusedfeatureflagsskill (.agents/skills/featureflags/SKILL.md). The new skill provides step-by-step guidance for integrating feature flags into FeatBit MCP Server tools and code paths, including clear instructions on when and how to use feature flags, best practices, and code examples for both tool gating and conditional logic. [1] [2]Code and Script Cleanup:
.github/skills/featbit/list-feature-flags/script.js,.github/skills/featbit/enable-disable-feature-flag/script.js), likely because these are now covered by more maintainable or centralized documentation and workflows.Project Hygiene:
.copilot-commit-message-instructions.mdto avoid confusion and enforce the new commit message standards described in the best-practice documentation.